package it.unina.lab.anm;

import android.app.Application;
import android.content.Context;

/**
 * Singleton per avere il context dell'applicazione
 * d'appertutto
 * 
 */
public class InfoBusAnmApplication extends Application {

	public static final String NAME = "InfoBusAnm";
	public static final int VERSION = 893;
	
    private static InfoBusAnmApplication instance;
    

    public InfoBusAnmApplication() {
        instance = this;
    }

    public static Context getContext() {
    	if (instance == null)
    		instance = new InfoBusAnmApplication();
        return instance;
    }

}
